home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / T U R B O Language / Turbo C v2.0 / INCLUDE / VALUES.H < prev   
Text File  |  1988-08-29  |  996b  |  51 lines

  1. /*    values.h
  2.  
  3.     Symbolic names for important constants, including machine
  4.     dependencies. A System V compatible header.
  5.  
  6.     Copyright (c) Borland International 1987,1988
  7.     All Rights Reserved.
  8. */
  9. #if __STDC__
  10. #define _Cdecl
  11. #else
  12. #define _Cdecl    cdecl
  13. #endif
  14.  
  15. #ifndef _VALUES_H
  16. #define    _VALUES_H
  17.  
  18. #define BITSPERBYTE    8
  19. #define MAXSHORT    0x7FFF
  20. #define MAXINT        0x7FFF
  21. #define MAXLONG        0x7FFFFFFFL
  22. #define HIBITS        0x8000
  23. #define HIBITI        0x8000
  24. #define HIBITL        0x80000000
  25.  
  26. #define DMAXEXP        308
  27. #define FMAXEXP        38
  28. #define DMINEXP        -307
  29. #define FMINEXP        -37
  30.  
  31. #define MAXDOUBLE    1.797693E+308
  32. #define MAXFLOAT    3.37E+38
  33. #define MINDOUBLE    2.225074E-308
  34. #define MINFLOAT    8.43E-37
  35.  
  36. #define DSIGNIF        53
  37. #define FSIGNIF        24
  38.  
  39. #define DMAXPOWTWO    0x3FF
  40. #define FMAXPOWTWO    0x7F
  41. #define _DEXPLEN    11
  42. #define _FEXPLEN    8
  43. #define _EXPBASE    2
  44. #define _IEEE        1
  45. #define _LENBASE    1
  46. #define HIDDENBIT    1
  47. #define LN_MAXDOUBLE    7.0978E+2
  48. #define LN_MINDOUBLE    -7.0840E+2
  49.  
  50. #endif
  51.